/*
 * Copyright 2011-2024 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0.
 * See `LICENSE` in the project root for license information.
 */

package me.ijleex.dev.grpc.demo.inventory.service;

import com.google.protobuf.BoolValue;
import com.google.protobuf.StringValue;

import io.grpc.stub.StreamObserver;
import me.ijleex.dev.grpc.demo.inventory.InventoryProto;
import me.ijleex.dev.grpc.demo.inventory.InventoryServiceGrpc;

/**
 * 库存服务实现.
 *
 * @author liym
 * @since 2020-07-07 22:12 新建
 */
public class InventoryService extends InventoryServiceGrpc.InventoryServiceImplBase {

    @Override
    public void addItem(InventoryProto.Item request, StreamObserver<BoolValue> responseObserver) {
        super.addItem(request, responseObserver);
    }

    @Override
    public void getItemById(StringValue request, StreamObserver<InventoryProto.Item> responseObserver) {
        super.getItemById(request, responseObserver);
    }

    @Override
    public void getItemByName(StringValue request, StreamObserver<InventoryProto.Items> responseObserver) {
        super.getItemByName(request, responseObserver);
    }

}
